home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Disc 3
/
Commodore_Disc_03_19xx_-_de.d64
/
spy (spion)
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
13KB
|
231 lines
100 rem **** (w)spy ****
102 rem th.portenlaenger
104 rem reitzensteinstr8
106 rem -8022 gruenwald-
108 rem einleitung/reset
110 dimh(4):s=54272:v=53248:a1=13045:a2=14024:a3=13247:j=12032:forx=1to3
112 h(x)=4e4-1e4*x:a$(x)="cpu":next
114 pokev+32,0:pokev+33,0:a=rnd(-ti)
116 print"[147]"tab(12)"[159] [169] [146][169][169] [146][169][169][146][169][169][146][169]
118 [153][163]12)" stepwaitstepvalvalstepwaitstepstepwaitstepstepwaitstepstepwaitstep
120 printtab(12)" [169] [146][169][169] [146][169][169] [146][169]
122 [153][163]12)" valstepwaitstepstepwaitstepvalval valstepwaitstep
124 printtab(12)"[169] [146][169][169][146][169] [169][146][169]
126 [153][163]12)"valvalval val val
128 printtab(12)"*** (c)1987 ***"
130 printtab(8)"sie haben den auftrag,
132 [153][163]8)"plaene einer neuen ost-
134 printtab(8)"erfindung(chem.waffe)in
136 [153][163]8)"den westen zu bringen!!
138 forx=830to975step2
140 ifx<868thenz=1304+639*rnd(1):goto144
142 z=1144+759*rnd(1)
144 a=int(z/256):pokex,a
146 pokex+1,z-a*256:next
148 printtab(17)"<fire>"
150 wait56320,16,16:e=100:r=-5:p=56295
152 sysa1,0,56,208:sys13291,1:sys12376
154 poke168,0:r=r+5:k=10:ia=10:goto158
156 ia=ia+abs(22-x2/8)+29-y2/8
158 f=0:x2=176:y2=44:bx=0:by=8
160 e=e-(10-k)*15:ife<0then494
162 sysa1,208,57,0:sysa1,0,56,208
164 k=0:poke168,peek(168)+1:onpeek(168)goto168,220,272,324,356,514
166 rem * bilder *
168 print"[147]@@@@@@xxxxxxxxx[151]- - - - - -xxxxxxxxxxxxx[149][176]";
170 print"[149][189] [151] [162] [149][173]";
172 print" --- [194] [146][161]@[161] [194] --- ";
174 print" [146][161] [161] ";
176 print" [172][162][162][162][162][162][162][162][162][162][187] [172][162][162][162][162][146][190] [161][209] [172][162][162][162][162][162][187] x [213][201] ";
178 print" [146][161]@ @[161] [146][161]@ [161][154][209] [146][161]@ @[161]@ [202][203] ";
180 print" [146][161] [172][162][162][162][162][162][187] [161] [146][161] [172][162][162][187] [161] [146][161] [172][162][187] [161][255] [195][209][195][195] ";
182 print" [146][161] [161][206][205] [206][205][146][161] [161] [146][161] [161] [146][161] [161] [146][161] [161] [146][161] [161] ";
184 print" [146][161] [161] [206][205] [146][161] [161] [146][161] [161] [146][161] [161] [146][161] [161] [146][161] [161] ";
186 print" [146][161] [188][162][162][162][162][162][146][190] [188][162][162][146][190] [161]xx[146][161] [188][162][162][146][190] [188][162][146][190][188][162][162][162][162][162][162][162][187] ";
188 print" [146][161] [161] [146][161] @[161] ";
190 print"[146][161] [172][162][162][162][162][162][187] [172][162][162][187] [161][216][216][146][161] [172][162][162][162][162][162][162][187] [172][162][162]@[162][162][187] [161] ";
192 print" [146][161] [161] [216][216][216] [146][161] [161] [146][161] [161] [146][161] [161] [146][161] [161][151] [146][161] [161] ";
194 print" [146][161] [161] [216][216][216] [146][161] [161] [146][161] [161]xx[146][161] [161] xxxx [146][161] @[151] [209] a[161] ";
196 print" [146][161] [188][162][162][162][162][162][146][190] [161] [146][161] [161] [146][161] [161] xxxx [146][161] [161][151] [146][161] [161] ";
198 print" [146][161]@ [161] [146][161] [161] [146][161] [161] [146][161] [161] a [146][161] [161] ";
200 print" [188][146][162][162][162]@[162][162][162][187] [161] [146][161][188][162][162][146][190] [188][162][162][162][162][162][162][146][190] [188][162][162]a[162][162][146][190] [161] ";
202 print" [172] [194] [187].[146][161] [161] [146][161]@ @[161] ";
204 print" [194] .[146][161] [161] [188][146][162][162][162][162][187] [172][162][162][162][162][162][162][187] [172][162][187] [172][162][162][162][190] [195]";
206 print"[195][195][209][195][195].[146][161] [161] [193][193][193][193][193] [146][161] [161] [193][193][193][193] [146][161] [161] [146][161] [161] ";
208 print" .[146][161] [188][162][162][162][162][162][162][162][146][190] [188][162][162][162][162][162][162][146][190] [188][162][146][190] [161] xxx ";
210 print" .[146][161]@ @[161] ";
212 print" [216][218][193]x .[188][146][162][162][162][162][162][162][162][162][162][187] [172][162][162][162][162][162][162][162][162][162][162][162][162][190] ";
214 print" [146][161]@[161] ";
216 print" [146][161]@[161] ";
218 pokep,5:sysa1,59,56,0:pokev+1,60:sysa2,98:y2=60:goto376
220 print"[147]@@@@@@ [146][161]@[161] ";
222 print" xxxx [146][161] [161] xxxx ";
224 print" [172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][146][190] [188][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][187] ";
226 print" [146][161]@ @[161] ";
228 print" [146][161] [172][162][162][162][162][162][162][162][162][162][187] [172][162][162][162][187] [172][162][187][172][162][187][172][162][162][162][162][162][162][187][161] ";
230 print" [146][161] [161] x x x x [146][161] [161] [146][161] [161] [146][161] [161] [146][161] [161] xx [146][161] [161] ";
232 print" [146][161] [188][162][162][162][162][162][162][162][162][162][146][190] [188][162][162][162][146][190] [161] [146][161] [188][162][146][190] [161] [146][161] [161] ";
234 print" [146][161] [161] [146][161]@ [161] [194] [216][146][161] [161] ";
236 print" [146][161] [172][162][162][162][187][172][162][162][162][187][172][162][162][162][187][161] [188][146][162][162][162][187] [161] [194] [216][146][161] [161] ";
238 print" [146][161] [161] [146][161] [161]^ ^[146][161] [161] [146][161] [161] [218] [218] [146][161] @@ [209] [216][146][161] [161] ";
240 print" [146][161] [161] [216] [146][161] [161] [146][161] [161] [146][161] [188][162][162][162][162][162][146][190] [161] [194] [216][146][161] [161] ";
242 print" [146][161] [161] [146][161] [161] [166] [146][161] [161] [146][161] [161] [194] [216][146][161] [161] ";
244 print" [146][161] [161] [146][161] [161][151] [146][161] [161]xxx[146][161] [172][162][162][162][162][162][187] [161] [146][161] [161] ";
246 print"[129][146][178][178] [178][178][178][178][178] [178][178][178][178][178] [178][178][178][178][178] [178][178][178][178][178][178][178] [178][178][178][178][178][178][178][178] [178][178]";
248 print"[177][177] [177][177][177][177][177] [177][177][177][177][177] [177][177][177][177][177] [177][177][177][177][177][177][177] [177][177][177][177][177][177][177][177] [177][177]";
250 print" [146][161] [188][162][162][162][146][190] [188][162][162][162][146][190] [161] [146][161] [188][162][162][162][162][162][146][190] [188][162][162][162][162][162][162][146][190] [161] ";
252 print" [146][161]@ [161] [146][161] [161] ";
254 print" [188][146][162][162][162][162][162][187][172][162][162][162][187][161] [146][161][172][162][162][162][162][162][187][172][162][162][162][162][162][162][187] [161] ";
256 print" .[146][161] [161] [146][161] [161] [146][161] [161] [193] [193] [146][161] [161] [193] [193] [146][161] [161] ";
258 print" .[146][161] [188][162][162][162][146][190] [188][162][162][162][146][190] [188][162][162][162][162][162][146][190] [188][162][162][162][162][162][162][146][190] [161] ";
260 print" [195][195][209][195] .[146][161]@ @[161] ";
262 print" .[188][146][162][162][162][162][162][162][162][162][162][162][162][187][172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][190] ";
264 print" [129][146][161] [161] ";
266 print"[183][163][183][163][163][163][163][183][163][163][183][183][163][163][163][183][163][163][163][129][146][161]@[161][163][163][183][163][183][163][163][183][163][163][163][163][183][163][163][183][163][163]";
268 print" [188][129][146][161]@[161][190] ";
270 pokep,6:sysa1,59,55,0:sysa2,116:goto376
272 print"[147]@@@@@ [172][129][146][161]@[161][187] ";
274 print"[175][164][175][164][164][164][164][175][164][164][175][175][164][164][164][175][164][164][164][129][146][161] [161][164][164][175][164][175][164][164][175][164][164][164][164][175][164][164][175][164][164]";
276 print" [146][161] [161] ";
278 print" [172][162][162][162][162][162][162][162][162][162][162][187] [146][161] [161] x [172][162][162][162][162][162][162][162][162][162][162][162][162][187] ";
280 print" [146][161]@ @[161] [195][209][195][195][146]@@ [161] x [146][161]@ @[161] ";
282 print" [146][161] [172][162][162][162][162][162][162][187] [161] [146][161] [161] [146][161] [172][162][162][162][162][187] [172][162][187] [161] ";
284 print" [146][161] [161]. xx [146][161] [188][162][162][162][162][162][162][146][190] [188][162][162][162][146][190] [161] [146][161] [161] [146][161] [161] ";
286 print" [146][161] [161]. [146][161] [161] [194] [146][161] [161] [146][161] [161] ";
288 print" [146][161] [161].[172] [194] [146][161] [172][162][162][162][162][162][162][187] [172][162][162][162][187] [161] [209] [146][161] [161] [146][161] [161] ";
290 print" [146][161] [161] [194] [146][161] [161] x [146][161] [161] x [146][161] [161] [194] [146][161] [161] [146][161] [161] ";
292 print" [146][161] @@[195][195][209][195] [146][161] [161] [146][161] [188][162][162][162][146][190] [188][162][162][162][162][146][190] [161] [146][161] [161] ";
294 print" [146][161] [161]. [194] [146][161] [161][213][201] [194] [146][161] @[161] [146][161] [161] ";
296 print" [146][161] [161].[188] [194] [146][161] [161][202][203] [209] [146][161] [172][162][162][162][187] [172][162][162][162][162][162][162][190] [146][161] [161] ";
298 print" [146][161] [161]. [146][161] [161] [194] [146][161] [161] [146][161] [161] [193] [193] [193] [146][161] [161] ";
300 print" [146][161] [188][162][162][162][162][162][162][146][190] [161] [194] [146][161] [161] x [146][161] [161] [146][161] [161] ";
302 print" [146][161]@ @[161] [146][161] [161] x [146][161] [161] [216][216][216][216][216][216] [146][161] [161] ";
304 print" [188][146][162][162][162][162][187] [172][162][162][162][190] [161][209] [216][216][146][161] [161] x [146][161] [161] [206][205] [206][205] [146][161] [161] ";
306 print" [146][161] [161] [146][161] [161] [146][161] [161] [206][205][206][205] [146][161] [161] ";
308 print" [146][161] [188][162][162][162][162][162][162][162][162][162][162][146][190] [188][162][162][162][146][190] [188][162][162][162][162][162][162][162][162][146][190] [161] ";
310 print" xxx [146][161]@ @[161] ";
312 print" xxx [188][146][162][162][162][162][162][162][162][162][162][162][162][162][187][172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][190] ";
314 print"[162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162] [146][161] [161] [162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162]";
316 print" [213][195][201] [146][161] [161] [213][201][213][201]";
318 print" [213][195][201] [202][178][203] [213][195][195][156] [194] [218][177][146][161]@[161][177][218][156] [194] [195][195][195][195][195][195][195][179][171][179][194]";
320 print" [194][209][171][195] [195][219][156] .[194]. [185][185][156] [194] [185][185][156] .[194]. [154] [206][205][202][203][202]";
322 pokep,5:sysa1,59,55,152:sysa2,134:goto376
324 print"[147]@@@@@@ [156][195][195][209][195][195][180] [194] [170][195][195][209][195][195] [154] [205][206] ";
326 print"[194][209][194] [156] [194] [180] [194] [170] [194] [154] [213][201][213][201]";
328 print" [202][195][203] a . [156] [194] . xx [202][203][202][203]";
330 print"aaaaa aaaa [209] [209] a[161] [209] [209] [209][209] ";
332 print" [129][146][178][178][178][178][178][178][178][178][178][178]@@[178][178][178][178][178][178][178][178][178][178][178][178][178][178][178][152][206][206][206]";
334 print" [129][146][177][177][177][177][177][177][177][177][177][177]@@[177][177][177][177][177][177][177][177][177][177][177][177][177][177][177][152][205][205][205]";
336 print"[146][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][190]@[188][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]";
338 print"[159]-- ---- ---- ---- ---- --";
340 forx=0to4^1
342 print"[176][174][176][174][176][174][176][174][176][174][176][174][176][174][176][174][176][174][176][174][176][174][176][174][176][174]";
344 print"[173][189][173][189][173][189][173][189][173][189][173][189][173][189][173][189][173][189][173][189][173][189][173][189][173][189]"
346 next:print"[145]-- ---- ---- ---- ---- --";
348 print"[151][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][187]@[172][151][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162]";
350 print" [182]a[181] ";:pokep,5:poke2023,160
352 sysa2,62:pokev+1,108:goto444
354 pokev+33,5
356 print"[144][147] [185][185][185][185][185][185] [144][181] [182] [144][146] xx [144][146][195][195][195][195]";
358 print"[206][206][206][144][185][185][185][185][185][185][185][185][185][195][195][195][195][195][195][144][181] [182][195][195][195][195][195][195][146][144] [206][205][213][201] [146][144][195][195][195][195]";
360 print" [213][195][201][213][195][201] [187][172] [151][176][174][144][181] [182][151][176][174] [187][172] [146][144] [205][206][202][203] ";
362 print" [202][195][203][202][195][203] [178][218] [151][173][189][144][181] [182][151][173][189][146][144] [218][178] ";
364 print"[184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][144][181].[182][184][144][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][146]";
366 print"[144] ";
368 print"[146]-----------------[151][176][174][146] [151][176][174][144][146]---------------";:poke2023,45
370 forx=0to9:poke1264+2.35*peek(53266),42:next:pokep,0
372 sys14682:goto468
374 rem * hauptprogramme *
376 sys13976:poke2023,160:pokev+17,27
378 ti$="000000":sysj:x1=peek(v)+256*peek(252)
380 y1=peek(v+1):sys13866:e=e-peek(164)
382 a=x1-x2:b=y1-y2
384 ifia>0thenia=ia-1:poke167,0:goto418
386 poke167,1:c=peek(15104+x2/8-2+40*int(y2/8-5))
388 ifc<>31thenf=f+1:if(fand1)=1then392
390 x2=x2+bx:y2=y2+by:goto414
392 ifby<>0thenx=b:y=a:w=by:xx=y2:yy=x2:u=1:p1=8:p2=2:p3=4:p4=1:goto396
394 x=a:y=b:w=bx:xx=x2:yy=y2:u=0:p1=1:p2=4:p3=2:p4=8
396 y=y+rnd(1)-.5:z=abs(x)-abs(y)
398 ifz<0then404
400 ifw>0andx>=0and(candp1)=p1then410
402 ifw<0andx<=0and(candp2)=p2then410
404 ify<0and(candp3)=p3thenby=-8+u*8:bx=-8*u:goto410
406 ify>0and(candp4)=p4thenby=8-u*8:bx=8*u:goto410
408 y=y/2-y:goto400
410 xx=xx+w:ifu=1thenyy=yy+bx:x2=yy:y2=xx:goto414
412 yy=yy+by:x2=xx:y2=yy
414 ifsgn(bx)<>sgn(a)orsgn(by)<>sgn(b)orpeek(150)=0then418
416 poke250,sgn(bx)+1:poke251,sgn(by)+1:sys13226
418 i=int(x2/256):poke247,i
420 pokev+2,x2-i*256:pokev+3,y2
422 poke2041,179+abs(sgn(bx))
424 sys12797:sys13144:ify1=228then156
426 print"e= "e:e=e-1
428 ifpeek(249)thensysa3:e=e+20-r:k=k+1
430 ife<0orpeek(248)then494
432 ifpeek(170)thensys13272:ia=10
434 ifti<15then434
436 goto378
438 sysj:x=peek(v)+256*peek(252)
440 y=peek(v+1):sys13828:e=e-peek(164)
442 return
444 sys13925:sys13291,2:sys13976:pokev,184:pokev+17,27:a=0
446 sys13392:gosub438:sys13963:sys13552
448 b=1304+639*rnd(1):f=f+1
450 ifpeek(b)=32and(fand7)=0thenpokeb,160
452 c=1024+x/8-2+40*int(y/8-5)
454 ifpeek(c)=87thenpokec,32:poke248,0:sysa3:a=1:e=e+20
456 ifpeek(c)=88thenpokec,32:sysa3:poke248,0:e=e+25*sgn(rnd(1)-.5)
458 print"e= "e:e=e-1
460 ify=236then492
462 ifpeek(249)thensysa3:e=e+20-r:k=k+1
464 ife<0orpeek(248)then494
466 goto446
468 sysa1,0,57,64:sysa1,208,57,36:pokev+1,92:pokev+17,27
470 gosub438:x=x-170
472 poke13518,abs(x-y)/16:poke13519,abs(x+y)/16
474 sys13653:sys13520:sys13552
476 b=1224+589*rnd(1):f=f+1
478 ifpeek(b)=32and(fand7)=0thenpokeb,160
480 print"[144]e= "e:e=e-1:sys13723
482 ifpeek(249)thensysa3:e=e+20-r:k=k+1
484 ife<0orpeek(248)then494
486 ify=236then160
488 goto470
490 rem * ende/hi-score *
492 ifa=1then160
494 ife<0thenprint"e= 0 "
496 poke2040,184:sys13201:sys13902
498 fort=0to250:next:pokev+33,0
500 pokes+5,0:pokes+6,240:pokev+17,11
502 form=14508to14540step3
504 pokes,peek(m):pokes+1,peek(m+1)
506 pokes+4,0:fort=0to5:next:pokes+4,33
508 fort=0topeek(m+2)*17:next:next
510 print"[147]"tab(7)"--- sie haben verloren ---"
512 sys13707:goto546
514 ifr=0then152
516 sys13902:pokev+33,0
518 pokes+5,22:pokes+6,125:pokes+3,55
520 form=14472to14507step3
522 pokes,peek(m):pokes+1,peek(m+1)
524 pokes+4,0:pokes+4,65
526 fort=0topeek(m+2)*15:next:next
528 print"[147] sie haben gewonnen und bekommen:":a=1e4+e*100
530 printtab(7)"* * * *"a"dm * * * *"
532 sys13707
534 input" name :...[157][157][157][157][157]";a$
536 a$=left$(a$,3)
538 z=1:forx=1to3:ifa<h(x)thenz=z+1
540 next
542 forx=4tozstep-1:h(x)=h(x-1)
544 a$(x)=a$(x-1):next:h(z)=a:a$(z)=a$
546 printtab(15)"hi-scores"
548 printtab(15)"* * * * *"
550 forx=1to3:printtab(13)x"[157]-[157]"h(x);a$(x):next:print"":poke198,0
552 printtab(7)"wollen sie nocheinmal(j/n)"
554 geta$:ifa$="j"then114
556 ifa$="n"thenpokev+17,11:sys64738
558 goto554